<%@ page import="MyBean.patient" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">a {text-decoration: none}</style>
</head>
<body {
	background="img/注册.png " ;
	style=" background-repeat:no-repeat ;
    background-size:100% 100%; 
    background-attachment: fixed;" 
} >
<% request.setCharacterEncoding("utf-8"); 
patient patient1 = (patient)request.getAttribute("patient2");
  String admissionNumber = patient1.getAdmissionNumber();
  String patientName = patient1.getPatientName();%>
  <hr>
<center>
<h1>
<font size="3" color="red">田园住院系统</font>
<font size="3" color="purple">祝您早日康复</font>
</h1>
</center>
<hr>
<br><br>
<center><h1>住院号为<%=admissionNumber %>的病人<%=patientName %>住院成功</h1></center>
<center><a href="index.jsp">返回主页面</a> <a href="searchPatients.jsp">查看所有住院信息</a></center>

<br>
<hr>
<center><em><p style="background:yellow">Copyright &copy; 2020 TianYuan Web Hospital,Nuc.<h1></em></center>
</body>
</html>